package com.yuyang.gulimall.member.openfeign;

import com.yuyang.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author yu yang
 * @date 2023/2/12 -15:47
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {
    @GetMapping("order/order/listWithItems")
    R listWithItems(@RequestParam Map<String, Object> params);
}
